package com.example.mallproduct.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @author guanglin.ma
 * @date 2023-12-17 19:52
 */
@FeignClient("mall-ware")
public interface WareFeginService {

    @PostMapping("/mallware/waresku/find/sku")
    Map<Long, Boolean> findBySkuId(@RequestBody List<Long> skuIdList);
}
